Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRSetVisible

You can use the QTVRSetVisible function to set a movie's visibility state.

OSErr QTVRSetVisible (QTVRInstance qtvr, Booleanvisible);
qtvr
An instance of a QuickTime VR movie.
visible
A Boolean value that indicates whether the specified movie is to be visible ( true ) or not ( false ).
function result
A result code.

DESCRIPTION

The QTVRSetVisible function sets the visibility state of the QuickTime VR movie specified by the qtvr parameter to the state specified by the visible parameter. Setting the visibility state to false is useful if you want to turn off imaging a QuickTime VR movie without purging the associated data from memory. When a panoramic node's visibility state is false , the corrected image is still drawn to the prescreen buffer. You can access the data in that buffer by calling QTVRSetPrescreenImagingCompleteProc .

SPECIAL CONSIDERATIONS

QTVRSetVisible is valid only for panoramic nodes.

SEE ALSO

Use QTVRGetVisible [link] to get the visibility state of a movie.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |